package com.neuedu.yyzx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.yyzx.dto.UserGrantDTO;
import com.neuedu.yyzx.po.Menu;
import com.neuedu.yyzx.po.User;
import com.neuedu.yyzx.vo.UserInfoVO;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【user(用户表)】的数据库操作Service
 * @createDate 2025-04-08 09:23:03
 */
public interface UserService extends IService<User> {

    boolean grant(UserGrantDTO dto) throws Exception;

    UserInfoVO info(String token);


    public List<Menu> getUserGrantMenus(long userId);
}
